package com.erp.pro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.pro.dao.SupplierLogDao;
import com.erp.pro.domain.SupplierLogDO;
import com.erp.pro.service.SupplierLogService;



@Service
public class SupplierLogServiceImpl implements SupplierLogService {
	@Autowired
	private SupplierLogDao supplierLogDao;
	
	@Override
	public SupplierLogDO get(Long id){
		return supplierLogDao.get(id);
	}
	
	@Override
	public List<SupplierLogDO> list(Map<String, Object> map){
		return supplierLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return supplierLogDao.count(map);
	}
	
	@Override
	public int save(SupplierLogDO supplierLog){
		return supplierLogDao.save(supplierLog);
	}
	
	@Override
	public int update(SupplierLogDO supplierLog){
		return supplierLogDao.update(supplierLog);
	}
	
	@Override
	public int remove(Long id){
		return supplierLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return supplierLogDao.batchRemove(ids);
	}
	
}
